styleprovider: Convert docs
authorMatthias Clasen <mclasen@redhat.com>
Sun, 28 Feb 2021 18:12:59 +0000 (13:12 -0500)
committerEmmanuele Bassi <ebassi@gnome.org>
Thu, 11 Mar 2021 16:37:35 +0000 (16:37 +0000)
gtk/gtkstyleprovider.c
gtk/gtkstyleprovider.h

index 4bcd241054d86ad171debe0a50b124264c553ed0..1c404ad368e5260fb7c4252aae990bf7058c48d4 100644 (file)
 #include "gtkprivate.h"
 
 /**
- * SECTION:gtkstyleprovider
- * @Short_description: Interface to provide style information to GtkStyleContext
- * @Title: GtkStyleProvider
- * @See_also: #GtkStyleContext, #GtkCssProvider
+ * GtkStyleProvider:
  *
- * GtkStyleProvider is an interface used to provide style information to a #GtkStyleContext.
- * See gtk_style_context_add_provider() and gtk_style_context_add_provider_for_display().
+ * `GtkStyleProvider` is an interface for style information used by
+ * `GtkStyleContext`.
+ *
+ * See [method@Gtk.StyleContext.add_provider] and
+ * [func@Gtk.StyleContext.add_provider_for_display] for
+ * adding `GtkStyleProviders`.
+ *
+ * GTK uses the `GtkStyleProvider` implementation for CSS in
+ * [iface@Gtk.CssProvider].
  */
 
 enum {
index a0da759bd27a9293a1b464b8c1cbaa6a310a1984..64abae73a369e6040e7368f65ade89d7defb59be 100644 (file)
@@ -57,7 +57,7 @@ G_BEGIN_DECLS
  * GTK_STYLE_PROVIDER_PRIORITY_SETTINGS:
  *
  * The priority used for style information provided
- * via #GtkSettings.
+ * via `GtkSettings`.
  *
  * This priority is higher than #GTK_STYLE_PROVIDER_PRIORITY_THEME
  * to let settings override themes.
@@ -67,7 +67,7 @@ G_BEGIN_DECLS
 /**
  * GTK_STYLE_PROVIDER_PRIORITY_APPLICATION:
  *
- * A priority that can be used when adding a #GtkStyleProvider
+ * A priority that can be used when adding a `GtkStyleProvider`
  * for application-specific style information.
  */
 #define GTK_STYLE_PROVIDER_PRIORITY_APPLICATION 600